package com.shumm.service;

import com.shumm.common.Result;
import com.shumm.po.ShangHanTiaoBian;

public interface ShangHanTiaoBianService {
    Result add(ShangHanTiaoBian shangHanTiaoBian);

    //根据id删除
    Result deleteById(Integer id);

    //根据id更新
    Result update(ShangHanTiaoBian shangHanTiaoBian);

    //根据id查询
    Result selectById(Integer id);

    //查询所有
    Result list();

    Result selectByContentOrComment(String content, String comment, String name, int size, int num);

    Result count();
}
